package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the PS_C_HIRE_TRAIN_T database table.
 * 
 */
@Entity
@Table(name="PS_C_HIRE_TRAIN_T")
@NamedQuery(name="PsCHireTrainT.findAll", query="SELECT p FROM PsCHireTrainT p")
@IdClass(PsCHirePrimaryClass.class)
public class PsCHireTrainT extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_COMPANY")
	private String cCompany;

	@Column(name="C_DESCR")
	private String cDescr;

	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="PS_C_TRAIN_SEQNO")
	@SequenceGenerator(name="PS_C_TRAIN_SEQNO",sequenceName="PS_C_TRAIN_SEQNO",allocationSize=1)
	@Column(name="C_SEQNO")
	private BigDecimal cSeqno;

	@Column(name="C_YES_NO1")
	private String cYesNo1;

	@Temporal(TemporalType.DATE)
	@Column(name="END_DT")
	private Date endDt;

	@Id
	@Column(name="RS_HIRE_ID")
	private String rsHireId;

	@Temporal(TemporalType.DATE)
	@Column(name="START_DT")
	private Date startDt;

	public PsCHireTrainT() {
	}

	public String getcCompany() {
		return cCompany;
	}

	public void setcCompany(String cCompany) {
		this.cCompany = cCompany;
	}

	public String getcDescr() {
		return cDescr;
	}

	public void setcDescr(String cDescr) {
		this.cDescr = cDescr;
	}

	public BigDecimal getcSeqno() {
		return cSeqno;
	}

	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}

	public String getcYesNo1() {
		return cYesNo1;
	}

	public void setcYesNo1(String cYesNo1) {
		this.cYesNo1 = cYesNo1;
	}

	public Date getEndDt() {
		return endDt;
	}

	public void setEndDt(Date endDt) {
		this.endDt = endDt;
	}

	public String getRsHireId() {
		return rsHireId;
	}

	public void setRsHireId(String rsHireId) {
		this.rsHireId = rsHireId;
	}

	public Date getStartDt() {
		return startDt;
	}

	public void setStartDt(Date startDt) {
		this.startDt = startDt;
	}


}